<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>企业认证 - 我的管理中心</title>
{include file="head"}
<link href="/static/thinkct/css/basic.css?v=1" rel="stylesheet" type="text/css" /><script language="javascript" src="/static/thinkct/js/jquery.m.js"></script><script language="javascript" src="/static/thinkct/js/layui/layui.js"></script><script language="javascript" src="/static/thinkct/js/common.js?v=1"></script><script language="javascript" src="/static/thinkct/js/member.js?v=1"></script><link href="/static/thinkct/css/member.css?v=1" rel="stylesheet" type="text/css" /><link href="/static/thinkct/js/layui/css/layui.css" rel="stylesheet" type="text/css" /><script language="javascript" src="/static/thinkct/js/plupload.js"></script><script language="javascript" src="/static/thinkct/js/upload.js"></script></head>
<body>
<!--头部-->
{include file="uhead"}

<!--头部-->
<div class="umain">
{include file="uleft"}
<div class="uright">

 <div class="mwz">
<li><a href='/member/verify/email'>邮箱认证</a></li>
<li><a href='/member/verify/phone'>手机认证</a></li>
<li><a href='/member/certification/idcard'>身份认证</a></li>
<li class='cur'><a>企业认证</a></li>
</div>
<form class="layui-form layui-font14"  name="company" action="" method="post" enctype="multipart/form-data">
<div class="layui-form-item" style='margin:0'>
    <div class="steps">
		<div class="cur"><span class="left"><em>1</em>提交企业资料</span><span class="right"></span></div>
		<div class=""><span class="left"><em>2</em>联网核验</span><span class="right"></span></div>
		<div><span class="left"><em>3</em>认证成功</span></div>
	</div>
</div>



<div class="layui-form-item">
    <label class="layui-form-label">企业法人</label>
	<div class="layui-inline">

 <select name="legal" lay-verify="required">
  <option value="">请选择..</option>
 <option value="37522" >xxx</option>
 </select></div>
 
 <div class="layui-inline"><div class="layui-form-mid layui-word-aux" style="#247fbd">法人必须先通过身份认证</div></div>


<div class="layui-form-item">
    <label class="layui-form-label">企业名称</label>
	<div class="layui-inline">
	<input name="name" class="layui-input" value="" maxlength="30" lay-verify="companyname" size="40" type="text" placeholder="请填写营业执照上的企业名称"/>
    </div>

</div> 


<div class="layui-form-item">
    <label class="layui-form-label" style='padding-left:0;width:95px;'>营业执照编号</label>
	<div class="layui-inline">
	<input name="num" class="layui-input" value="" maxlength="30" lay-verify="companynum" size="40" type="text" placeholder="三证合一请填写统一社会信用代码"/>
    </div>
</div> 


<div class="layui-form-item">
    <label class="layui-form-label">联系电话</label>
	<div class="layui-inline">
	<input name="tel" class="layui-input" value="" maxlength="30" lay-verify="companytel" size="40" type="text" placeholder="请填写公司 区号-固话或手机号码"/>
    </div>
</div> 



<div class="layui-form-item">
    <label class="layui-form-label" style='padding-left:0;width:95px;'>上传营业执照</label>
    <div class="layui-input-block">

	<div class="layui-box layui-upload-button"><input type="file" name="file" id="picinp" class="layui-upload-file"  lay-verify="required"  accept="image/png,image/jpeg,image/gif" onchange="checkfile(this,'pic')"><span class="layui-upload-icon"><i class="layui-icon"></i>选择图片</span></div>
	<div class="layui-inline"><div class="layui-form-mid layui-word-aux">正副本均可；尺寸:宽≥300px,高≥400px；大小上限2M；格式JPG,GIF,PNG</div></div>
	<div class="layui-inline"><div class="layui-form-mid layui-word-aux " style="color:red"></div></div>

	<br>
<div class="div_preview" pixel_data='no' size_data="2048000"  style="width:300px;height:420px;background-image: url('');
" id="pic">
<img src=""></div>
</div>
</div>


<div class="layui-form-item" style='padding-bottom:15px;'>
    <label class="layui-form-label"></label>
    <div class="layui-input-block"><input type="submit" class="layui-btn" lay-submit="" lay-filter="upload"  value="确认提交" /></div>
</div>


  <div class='notes'>
    <li> <h3>上传注意事项及声明：</h3></li>
	<li>&nbsp;&nbsp;&nbsp;&nbsp;(一) 请确保上传、填写的企业信息真实有效性，否则您需自行承担相关法律责任；
	<li>&nbsp;&nbsp;&nbsp;&nbsp;(二) 请确保您在{:sysconf('site_name')}的经营内容已在营业执照经营范围内，否则您需自行承担相关法律责任；
	<li>&nbsp;&nbsp;&nbsp;&nbsp;(三) 手机拍照时拍摄角度保持垂直，避免倾斜过大造成营业执照图片变型；
	<br />&nbsp;&nbsp;&nbsp;&nbsp;(四) 非彩色营业执照图片，需在空白处加盖公司公章，图片文字、号码需清晰可辨；
	<br />&nbsp;&nbsp;&nbsp;&nbsp;(五) 不建议添加水印，若加水印，只允许在不覆盖文字的地方加特定“{:sysconf('site_name')}认证专用”水印。
	<li> <h3>企业认证的好处：</h3></li>
	<li>&nbsp;&nbsp;&nbsp;&nbsp;(一) 店铺名称可选择设定为企业认证的名称；
	<br />&nbsp;&nbsp;&nbsp;&nbsp;(二) 只允许提现至已通过企业认证或身份认证姓名开户的银行帐户、支付宝、财付通，保证资金的安全；
	<br />&nbsp;&nbsp;&nbsp;&nbsp;(三) 将在商品页面、店铺档案中显示  “企业认证” 标识，可增加买家信任度，利于商品出售。</li>
	  </div>

	<input type="hidden" value="{:shop_bh()}" name="random" />
	<input type="hidden" value="company" name="action" />
	<input type="hidden" value="upload" name="flow" />
	<input type="hidden" value="{:passkey()}" name="passkey" />
</form>
</div>
 </div>
{include file="bottom"}</body>
<script type="text/javascript">
layui.use('form',function(){var form=layui.form();form.verify({companyname:function(value){if($.trim(value)==""||value.length<6)return'请输入正确的【企业名称】'},companynum:function(value){if($.trim(value)==""||value.length<=10)return'请输入正确的【营业执照编号】'},companytel:function(value){if(!judge(value,'phone')&&!judge(value,'tel'))return'请输入正确的【联系电话】'},bankid:function(value){if($("input[name='check']:checked").val()=='bankid'&&!/^[0-9]\d{14,20}$/g.test(value))return'请输入正确银行卡卡号'}});form.on('radio(check)',function(data){$('.check-box').addClass('hide');$('.check-'+data.value).removeClass('hide')});form.on('submit(upload)',function(data){progress(true);return true});form.on('submit(check)',function(data){var sub=$.trim($('.sub').html()),name=$.trim($('.name').html()),num=$.trim($('.num').html()),check=$("input[name='check']").length>0?$("input[name='check']:checked").val():0;bankid=$("input[name='bankid']").length>0?$("input[name='bankid']").val():0;var pmoney=$('#pmoney'),umoney=$('#umoney');if(parseFloat(umoney.html())<parseInt(pmoney.html())){layer.confirm('<b>您当前余额不足 <font color="red">'+parseInt(pmoney.html())+'</font> 元，<a href="/onpay/'+pmoney.html()+'" target="_blank" style="color:#247fbd">点此充值</a></b><br><font color="#666666">然后请根据操作情况点击以下选项。',{icon:3,btn:['充值完成','取消返回'],shade:[0.5,'#fff'],title:false,closeBtn:false,area:'350px'},function(){location.reload()},function(index){layer.close(index)});return false}if(sub.length<=0||name.length<=0||num.length<=0){layer.alert("您提交的信息不全，请重新提交！",{icon:2});return false}var loading=layer.msg('联网核验中，请稍等……',{icon:16,shade:[0.3,'#333'],time:0});Aform("certification","mode="+data.form.name+"&sub="+sub+"&num="+num+'&check='+check+'&bankid='+bankid+'&safe='+$('input[name=safe]').val(),function(datas){layer.close(loading);Rs(datas)},true);return false})});
</script>
</html>